package com.qqtech.qquan.circle.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.TimeUtil;

@SuppressWarnings("serial")
public class CircleBaseQuery extends CircleBase {
	/**
	 * 搜索的文字
	 */
	private String search;
	
	/**
	 * 社区
	 */
	private String communityName;
	
	/* 包括-圈子ID列表 */
	private java.util.List<Integer> circleIds;
	/* 排除-圈子ID列表 */
	private java.util.List<Integer> excludeCircleIds;
	/* 包括-开放级别id列表 */
	private java.util.List<Integer> includeOpenLevels;
	/* 包括-功能类型id列表 */
	private java.util.List<Integer> includeFuncTypes;
	/* 包括-类型id列表 */
	private java.util.List<Integer> includeTypes;
	/**查询开始时间**/
	private java.sql.Timestamp startAt;
	/**查询结束时间**/
	private java.sql.Timestamp endAt;
	
	public String getCommunityName() {
		return communityName;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	public java.util.List<Integer> getCircleIds() {
		return circleIds;
	}

	public String getSearch() {
		return search;
	}

	public void setCircleIds(java.util.List<Integer> circleIds) {
		this.circleIds = circleIds;
	}

	public void setSearch(String search) {
		this.search = search;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

	public java.util.List<Integer> getExcludeCircleIds() {
		return excludeCircleIds;
	}

	public void setExcludeCircleIds(java.util.List<Integer> excludeCircleIds) {
		this.excludeCircleIds = excludeCircleIds;
	}

	public java.util.List<Integer> getIncludeOpenLevels() {
		return includeOpenLevels;
	}

	public void setIncludeOpenLevels(java.util.List<Integer> includeOpenLevels) {
		this.includeOpenLevels = includeOpenLevels;
	}

	public java.util.List<Integer> getIncludeFuncTypes() {
		return includeFuncTypes;
	}

	public void setIncludeFuncTypes(java.util.List<Integer> includeFuncTypes) {
		this.includeFuncTypes = includeFuncTypes;
	}

	public java.util.List<Integer> getIncludeTypes() {
		return includeTypes;
	}

	public void setIncludeTypes(java.util.List<Integer> includeTypes) {
		this.includeTypes = includeTypes;
	}
	
	public void setStartAtStr(String v) {
		this.setStartAt(TimeUtil.getTimeByDatetimeLocal(v));
	}
	
	public void setEndAtStr(String v) {
		this.setEndAt(TimeUtil.getTimeByDatetimeLocal(v));
	}

	public java.sql.Timestamp getStartAt() {
		return startAt;
	}

	public void setStartAt(java.sql.Timestamp startAt) {
		this.startAt = startAt;
	}

	public java.sql.Timestamp getEndAt() {
		return endAt;
	}

	public void setEndAt(java.sql.Timestamp endAt) {
		this.endAt = endAt;
	}
}